export function formatTime(time) {
  time = time | 0
  const minute = ((time / 60 | 0) + '').padStart(2, '0')
  const second = ((time % 60) + '').padStart(2, '0')
  return `${minute}:${second}`
}
